package co.baiku.boot.message;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

public class WeixinTemplateMessageRequest {
    /**
     * [必填] 接收者openid
     */
    private String touser;
    /**
     * [必填] 模板ID
     */
    private String template_id;
    /**
     * 跳转地址
     */
    private String url;
    /**
     * [必填] 模板数据
     */
    private Map<String, Object> data;

    /**
     * 跳小程序所需数据，不需跳小程序可不用传该数据
     */
    private WeixinTemplateMessageJump miniprogram;

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }
}
